package programDetails;

/**
 * @Description: ����String������
 * @Date: 2020/4/10
 * @Author: ��Ⱥ��
 */
public class _1_4_CompareString {
    String str1="hello world";
    StringBuilder str2=new StringBuilder("hello world");
    StringBuffer str3=new StringBuffer("hello world");

}
/*
1��
    String��һ�����ɱ��ַ���
    Stringbuild��Stringbuffer�ǿɱ��ַ���
2��
    Stringbuild�����̰߳�ȫ�ģ���Stringbuffer���̰߳�ȫ��ͨ��synchronized�ؼ��ּ���
    Stringbuild���ܱ�Stringbuffer�ߣ���Ϊû�м�����
 */